package com.xiaotao.mapper;

import com.xiaotao.entity.UserCoupon;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserCouponMapper {
    List<UserCoupon> queryAll();
    Integer add(UserCoupon userCoupon);
    UserCoupon queryById(@Param("id") Integer id);
    Integer updateStatus(UserCoupon userCoupon);
    List<UserCoupon> queryByUserId(@Param("userId") Integer userId);
}
